<?php 
echo "<table class='table_resume' ><tr>";
    echo "<td valign='top' width='260px'>";
    echo $this->element('menu_resume'); 
    echo "</td>";
    echo "<td class='pemisah'></td>";
    echo "<td valign='top'>";
    echo "<div class='form'>";
    echo "<h2> Resume Exposure </h2>";
    echo "<hr color='#2A7EF7'>";
        echo "<div class='kotak2'>"; 
        echo $form->create('Resume',array('action'=>'searchable'));
            echo $form->input('id',array('type'=>'hidden'));
            
	        echo "<div class='input'>";  
            echo "<label>Searchable Resume</label>";
            if($this->data['Resume']['open']=='1')
            { 
                echo  "<input type='radio' id='open1' name='data[Resume][open]' value='1' checked='true'> Open <br>"; 
                echo  "<label> &nbsp </label> &nbsp&nbsp&nbsp <span class='info'> Employers can search your resume </span> <br>";
                echo  "<label> &nbsp </label><input type='radio' id='open2' name='data[Resume][open]' value='0' > Hide <br>"; 
                echo  "<label> &nbsp </label> &nbsp&nbsp&nbsp <span class='info'> Employers can <b>NOT</b> search for your resume</span> <br>";
            }
            else
            { 
                echo  "<input type='radio' id='open1' name='data[Resume][open]' value='1' > Open <br>"; 
                echo  "<label> &nbsp </label> &nbsp&nbsp&nbsp <span class='info'> Employers can search your resume </span> <br>";
                echo  "<label> &nbsp </label><input type='radio' id='open2' name='data[Resume][open]' value='0' checked='true'> Hide <br>"; 
                echo  "<label> &nbsp </label> &nbsp&nbsp&nbsp <span class='info'> Employers can <b>NOT</b> search for your resume</span> <br>";
            }
            echo "</div>";
            echo "<div class='input'><label> &nbsp </label><input type='submit' value='Save & Next'></div>";
        echo "</form>";
        echo "</div>";
        echo ":. Your Resume has been viewed <font style='font-size:120%'><b>".$this->data['Resume']['views']."</b></font> time(s) by employers.";
        echo " ".$html->link('[ Reset ]',array('controller'=>'resumes','action'=>'reset_views'))."<span class='info'> Reset to 0 </span>" ;
        echo "<br>:. Thousands of top employers search for candidates from ITJobz.com Resume database. Placing your Resume here allows you to be approached by employers across the region";

    echo "</div>";
    echo "</td>";
echo "</tr></table>"; 
?>

